package 笔试.aa.b;

import org.junit.Test;

public class Main {
    @Test
    public void test() {
        System.out.println(maxLexicographical("0"));
        System.out.println(maxLexicographical("000"));
        System.out.println(maxLexicographical(""));
    }
    public String maxLexicographical (String num) {
        char[] c = num.toCharArray();
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < c.length; i++) {

                sb.append('1');
        }
        return sb.toString();
    }
}
